// part1:C10:ex10.14.cpp
// lambda function, return sum of two integer.
#include <iostream>
using namespace std;

int main(int argc, char *argv[]) {
  auto sum1 = [] (int a, int b) {
    return a + b;
  };

  cout << sum1(1, 1) << endl;

  return 0;
}
